<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{$setting.webname}-我的老师</title>
    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
    <meta content="yes" name="apple-mobile-web-app-capable"/>
    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
    <meta content="telephone=no" name="format-detection"/>
    <link rel="shortcut icon" href="/public/static/admin/uploads/set/{$setting['ico']}">
    <link type="text/css" rel="stylesheet" href="/public/static/home/themes/css/base.css">
    <link type="text/css" rel="stylesheet" href="/public/static/home/themes/css/home.css">
    <script type="text/javascript" src="/public/static/home/themes/js/jquery.min.js"></script>
    <script type="text/javascript" src="/public/static/home/themes/js/slider.js"></script>
    <script type="text/javascript" src="/public/static/home/themes/js/tab.js"></script>
    <link rel="stylesheet" href="/public/static/admin/layui/css/layui.css">
    <link rel="stylesheet" href="/public/static/admin/css/font-awesome.css">
    <link rel="stylesheet" href="/public/static/home/css/aui.css">
</head>
<body>

<section class="aui-flexView">
    <header class="aui-navBar aui-navBar-fixed b-line">
        <a href="javascript:history.back(-1)" class="aui-navBar-item">
            <i class="icon icon-return"></i>
        </a>
        <div class="aui-center">
            <span class="aui-center-title">我的组员</span>
        </div>
        <a href="javascript:;" class="aui-navBar-item">
            <i class="icon icon-sys"></i>
        </a>
    </header>
    <section class="aui-scrollView">
            <div class="aui-mate-box">
                <ul class="aui-list aui-media-list">
                    {foreach $my_teacher as $val}
                    <li class="aui-list-item aui-list-item-middle">
                        <div class="aui-media-list-item-inner">
                            <div class="aui-list-item-media" style="width: 3rem;">
                                <img src="/public/static/admin/uploads/teacher_photo/user-logo-005.png" class="aui-img-round" >
                            </div>
                            <div class="aui-list-item-inner aui-list-item-arrow">
                                <div class="aui-card-list-user-name">
                                    <div class="aui-font-size-16">{$val.name} {if condition="$val.sex == 1"} <span class="fa fa-mars" style="color:#0b4cb2"></span> {else /} <i class="fa fa-venus" style="color: #ff7090;"></i> {/if} </div>
                                    <small style="float:right;">{if condition="$val.status == 1"} <span style="color:#03b24d">账户可用</span>{else /} <span style="color:#b22712">账户禁用</span>{/if}</small>
                                </div>
                                <div class="aui-card-list-user-info">
                                    <i class="fa fa-phone-square" aria-hidden="true"></i> <a href="tel:{$val.tel}" style="color:#757575">{$val.tel}</a>
                                    <small style="float:right;"><a href="{:url('My/my_student')}?id={$val.id}" style="color:#757575"><i class="fa fa-users" aria-hidden="true"></i> 他的学生</a></small>
                                </div>
                            </div>
                        </div>
                    </li>
                    {/foreach}

                    <!--<li class="aui-list-item aui-list-item-middle">-->
                    <!--    <div class="aui-media-list-item-inner">-->
                    <!--        <div class="aui-list-item-media" style="width: 3rem;">-->
                    <!--            <img src="../image/demo5.png" class="aui-img-round" >-->
                    <!--        </div>-->
                    <!--        <div class="aui-list-item-inner aui-list-item-arrow">-->
                    <!--            <div class="aui-card-list-user-name">-->
                    <!--                <div class="aui-font-size-16">张三 {if condition="1 == 1"} <span class="fa fa-mars" style="color:#0b4cb2"></span> {else /} <i class="fa fa-venus" style="color: #ff7090;"></i> {/if} </div>-->
                    <!--            </div>-->
                    <!--            <div class="aui-card-list-user-info">-->
                    <!--                <i class="fa fa-phone-square" aria-hidden="true"></i> 18847135968-->
                    <!--                <small style="float:right;"><i class="fa fa-clock-o" aria-hidden="true"></i> 2022年6月3日23:43:21</small>-->
                    <!--            </div>-->
                    <!--        </div>-->
                    <!--    </div>-->
                    <!--</li>-->

                </ul>

            </div>
            <div class="nothing">~~后面没有了~~</div>
    </section>
    {include file="public/footer3"}
</section>
<script src="/public/static/admin/layui/layui.js"></script>
<script>
    layui.use('upload', function() { //独立版的layer无需执行这一句
        var $ = layui.jquery, layer = layui.layer, upload = layui.upload; //独立版的layer无需执行这一句
    });
</script>
</body>
</html>